<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="moduleView" />
</head>
<body>
	<div class="panel panel-default">
		<div class="col-xs-12 panel-heading">
			<h2 class="panel-title o-v-action">
				<a class="btn btn-default pull-right" role="button"
					href="javascript:void(0)" onclick="history.go(-1)">返回</a> <a
					class="btn btn-danger pull-right" role="button"
					href="${contextPath}/biz/brand/supplierBank/${supplierShopAccount.id}/delete"
					onclick="return Oosp_Confirm('确认要删除全部数据吗？', this.href)">删除</a> <a
					class="btn btn-primary pull-right" role="button"
					href="${contextPath}/biz/brand/supplierBank/${supplierShopAccount.id}/edit">修改</a>
			</h2>
		</div>
		<div>
			<ul class="nav nav-tabs" id="myTab">
				<li class="active"><a href="#home" data-toggle="tab">供应商银行信息</a></li>
			</ul>
			<div class="tab-content">
				<div class="tab-pane active" id="home">
					<ul class="nav nav-tabs" id="myTab">
						<li class="active"><a href="#home" data-toggle="tab">银行信息</a></li>
					</ul>
					<table class="table table-bordered">
						<thead>
							<tr>
								<th>开户银行名称</th>
								<th>开户银行简称</th>
								<th>开户账号</th>
								<th>备注</th>
							</tr>
						</thead>
						<tbody>
							<c:if test="${empty supplierShopAccount.supplierBankList}">暂时还没有银行信息！</c:if>
							<c:forEach items="${supplierShopAccount.supplierBankList}"
								varStatus="var">
								<tr>
									<td>${supplierShopAccount.supplierBankList[var.index].bankName}</td>
									<td>${supplierShopAccount.supplierBankList[var.index].bankSname}</td>
									<td>${supplierShopAccount.supplierBankList[var.index].bankNo}</td>
									<td>${supplierShopAccount.supplierBankList[var.index].remark}</td>

								</tr>
							</c:forEach>
						</tbody>
					</table>
					<div class="panel-footer"></div>
				</div>
				<div class="tab-pane" id="history">
					<iframe id="versionFrame" name="versionFrame" scrolling="no"
						frameborder="no" width="100%"></iframe>
				</div>
			</div>
		</div>
	</div>
</body>
</html>